<p id="notice"><%= notice %></p>

<p>
  <b>Timeslot:</b>
  <%= link_to 'Link', @cancellation_report.timeslot %>
</p>

<p>
  <b>Reason:</b>
  <%= @cancellation_report.display_reason %>
</p>

<p>
  <b>Comment:</b>
  <%= @cancellation_report.comment %>
</p>

<% if @current_user.student? %>
  <p>
    <b>Instructor:</b>
    <%= link_to @cancellation_report.instructor.full_name, @cancellation_report.instructor %>
  </p>
<% else %>
  <p>
    <b>Student:</b>
    <%= link_to @cancellation_report.student.full_name, @cancellation_report.student %>
  </p>
<% end %>


<% unless @current_user.student? %>
  <%= link_to 'Edit', edit_timeslot_cancellation_report_path(@cancellation_report.timeslot) %>
<% end %>
